__author__ = 'hsd'
from sklearn.feature_selection import RFE
from sklearn.linear_model import LogisticRegression
from getData import *
model = LogisticRegression()
# create the RFE model and select 3 attributes
rfe = RFE(model, 3)
rfe = rfe.fit(X, y)
# summarize the selection of the attributes
print(rfe.support_)
print(rfe.ranking_)
